package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * <desc>
 *      物业增值PO类
 * </desc>
 *
 * @createDate 2019/05/29
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("property_value")
public class PropertyValuePO extends BasePO{
    @ItlField(value = "property_value_id",logicKey = "key")
    private String propertyValueId;     //逻辑主键
    @ItlField("project_id")
    private String projectId;               //项目id
    @ItlField("deploy")
    private Integer deploy;              //是否将配置下方至物业  1是 0否
    @ItlField("open_temp_pass")
    private Integer openTempPass;        //是否开启临时通行  1是 0否
    @ItlField("open_temp_pass_percent")
    private BigDecimal openTempPassPercent; //平台抽成比例
    @ItlField("temp_pass_money")
    private BigDecimal tempPassMoney;           //临时通行金额
    @ItlField("temp_pass_open_time")
    private Integer tempPassOpenTime;           //临时开放时长
    @ItlField("open_device_type")
    private String openDeviceType;         //开通设备类型 1云电梯 2云门禁 3云对讲 4手机端
}
